from django.db import models
from django import forms

CAT_CHOICES=(
('food','Food'),
('politics','Politics'),
('business','Business'),
('music','Music'),
('celebrity','Celebrity'),
)

class UploadArticleForm(forms.Form):
    title = forms.CharField(max_length=100)
    image = forms.ImageField()
    content = forms.CharField(widget=forms.Textarea) 
    category = forms.ChoiceField(choices=CAT_CHOICES)


class UploadYakitoriForm(forms.Form):
    title = forms.CharField(max_length=100)
    image = forms.ImageField()
    category = forms.ChoiceField(choices=CAT_CHOICES)
    summary = forms.CharField(widget=forms.Textarea) 
    url=forms.URLField()
